package util

import (
	http "net/http"
	"log"
	"io"
)

type a struct {
}

func (*a) ServeHTTP(w http.ResponseWriter, req *http.Request) {
	io.WriteString(w, "hello, world!\n")
}

func Server2() {

	mux := http.NewServeMux()
	mux.HandleFunc("/*/api", func(writer http.ResponseWriter, request *http.Request) {
		
	})
	mux.Handle("/hello", &a{})
	log.Fatal(http.ListenAndServe(":12345", mux))
}
